﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using log4net;

namespace Quartz.net
{
    public class TestJob : IJob
    {
        private static readonly ILog Logger = log4net.LogManager.GetLogger("SampleLog");

        /// <inheritdoc />
        public Task Execute(IJobExecutionContext context)
        {
            Logger.Error("TestJob测试");
            Console.WriteLine("222222222222" + DateTime.Now.ToLongTimeString());
            return Task.FromResult(true);
        }


    }
}
